package org.gaaidou.ptarmigan.springboot.functional.bean;

import org.gaaidou.ptarmigan.springboot.core.BaseEnum;

public enum Gender implements BaseEnum<Integer> {
    MALE(1, "male"),
    FEMALE(2, "female");

    private final int value;

    private final String description;

    Gender(int value, String description) {
        this.value = value;
        this.description = description;
    }

    @Override
    public Integer getValue() {
        return value;
    }

    @Override
    public String description() {
        return description;
    }
}
